package com.zzyl.nursing.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 查询参数DTO
 * 用途：接收前端传递的查询参数，包括分页参数和条件筛选参数
 */
@Data
@ApiModel(description = "查询参数对象")
public class QueryParamsDTO {

    @ApiModelProperty(value = "名称参数", example = "洗头")
    private String name;

    @ApiModelProperty(value = "页码，用于分页查询", example = "1", required = true)
    private Integer pageNum;

    @ApiModelProperty(value = "每页条数，用于分页查询", example = "10", required = true)
    private Integer pageSize;

    @ApiModelProperty(value = "状态参数", example = "1", notes = "1表示启用，0表示禁用等状态标识")
    private Integer status;
}
    